{% set teachers = data('RecommendTeachers',{'count':config.count|default(4)}) %}
  {% if teachers %}
  <section class="recommend-teacher panel panel-default {{config.background|default("")}}">
    <h2 class="h4 section-title primary-line">创业导师
      <a href="{{ path('teacher') }}" title="" class="section-more pull-right">更多>></a>
    </h2>
    <div class="row">
      {% for teacher in teachers %}
      {% set profile = teacher.profile %}
      {% set isFollowed = teacher.isFollowed %}
        <div class="col-xs-6 col-sm-3">
          {% include 'TopxiaWebBundle:Teacher:teacher-item.html.twig' %}
        </div>
      {% endfor %}
    </div>
  </section>
  {% endif %}
